package com.anxin.act.busFlow.entity;

import com.alibaba.fastjson.JSONArray;
//import io.swagger.annotations.ApiModel;
//import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.anxin.framework.aspectj.lang.annotation.Excel;
import com.anxin.framework.web.entity.BaseEntity;

/**
 * 业务流程配置对象 wf_config_flow
 *
 * @author jbs
 * @date 2020-04-08
 */
//@ApiModel(description = "业务流程配置")
public class WfConfigFlow extends BaseEntity<WfConfigFlow>{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    //@ApiModelProperty(value = "主键ID",position=1)
    private String id;

    /** 业务类型 */
    @Excel(name = "业务类型")
    //@ApiModelProperty(value = "业务类型",position=2)
    private String busType;

    /** 业务数据类型 */
    @Excel(name = "业务数据类型")
    //@ApiModelProperty(value = "业务数据类型",position=2)
    private String busDataType;

    /**
     * 归属部门
     */
    @Excel(name = "归属部门ID")
    //@ApiModelProperty(value = "归属部门ID",position=2)
    private String deptId;

    /**
     * 归属部门
     */
    @Excel(name = "归属部门")
    //@ApiModelProperty(value = "归属部门",position=2)
    private String deptName;

    /** 版本 */
    @Excel(name = "版本")
    //@ApiModelProperty(value = "版本",position=3)
    private Integer version;

    /**
     * 角色ID
     */
    private String roleId;
    /**
     * 角色名称
     */
    private String roleName;

    /**
     * 是否自动更新流程阶段
     */
    private String autoUpdateNode;

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public void setId(String id){
        this.id = id;
    }

    public String getId(){
        return id;
    }
    public void setBusType(String busType){
        this.busType = busType;
    }

    public String getBusType(){
        return busType;
    }
    public void setVersion(Integer version){
        this.version = version;
    }

    public Integer getVersion(){
        return version;
    }

    public String getBusDataType() {
        return busDataType;
    }

    public void setBusDataType(String busDataType) {
        this.busDataType = busDataType;
    }

    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getAutoUpdateNode() {
        return autoUpdateNode;
    }

    public void setAutoUpdateNode(String autoUpdateNode) {
        this.autoUpdateNode = autoUpdateNode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("busType", getBusType())
            .append("version", getVersion())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
